<%--
  User: Shengzhao Li
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<c:forEach items="${accountSearchResult.list}" var="account">
    <li data-theme="${account.style.label}">
        <a href="../details/${account.guid}" data-transition="pop">
            <h3 class="${account.income?'red':''}">${account.typeName}
                <c:if test="${not account.publicity}">
                    <img src="../../../images/mobile/lock.png" alt="private"/>
                </c:if></h3>

            <p><strong>${account.amount}</strong></p>

            <p>${account.description} </p>

            <p class="ui-li-aside">${account.accountDate}</p>
        </a>
        <c:if test="${account.allowEdit}">
            <a href="../delete_confirm/${account.guid}" data-transition="slidedown"
               data-ajax="false">删除</a>
        </c:if>
    </li>
</c:forEach>